<div class="panel panel-box announcementie" style="height:310px">
    <div class="panel-heading">
        <div class="titleimage">
            <h3 class="panel-title panel-title-font">
                <?php echo yii::t('other/Site','Announcement')?>
                <a href="<?php echo yii::app()->baseUrl.'/display/announcement'?>"><span class="fontcolor pull-right">+更多</span></a>
            </h3>
        </div>
    </div>
    <div class="panel-body" style="padding-top:0px;padding-bottom:0px;">
        <marquee direction="up" style="height: 250px; margin-top:10px;" scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()">
        <ul style="padding-left:0px">
        <?php for($i = 0;$i < ((count($this->newsModelList) > $this->countLimit) ? $this->countLimit : count($this->newsModelList));$i++):?>
        <li style="padding-bottom:10px"><span class="glyphicon glyphicon-list-alt"></span>
            <a href="<?php echo yii::app()->baseUrl.'/display/news/'.$this->newsModelList[$i]->news_id?>">
                <?php echo CHtml::encode($this->newsModelList[$i]->title).' ['.date('Y-m-d',strtotime($this->newsModelList[$i]->published_date)).']';?>
            </a>
        </li>
        <?php endfor;?>
        </ul>
        </marquee>
    </div>
</div>
